Alcoholism
Meta Tables for Alcoholism.
Functions
playerMeta:AddBAC(amt)
Adds a specified amount to the player's BAC, clamping the value between 0 and 100.
Parameters
-
amt
Integer
The amount to add to the BAC.
playerMeta:GetBAC()
Retrieves the player's current BAC.
Returns
-
integer
The current BAC of the player.
playerMeta:IsDrunk()
Checks if the player's BAC is above the drunk notification threshold.
Returns
-
bool
True if the player's BAC is above the drunk notification threshold, false otherwise.
playerMeta:ResetBAC()
Resets the player's blood alcohol content (BAC) to 0.